read -p "please input the string to search to elemite in history\n"  delstring
sed -i "/$delstring/d" ~/.bash_history

